import pandas as pd
import numpy as np
na_values = ['NO CLUE', 'N/A', '0']
data = pd.read_csv('Data/311-service-requests.csv',na_values=na_values,dtype={'Incident Zip':str})
data['Incident Zip'] = data['Incident Zip'].str.slice(0,5)
is_code = data['Incident Zip'].str.startswith('0',na=True) | data['Incident Zip'].str.startswith('1',na=True)
data[-is_code]['Incident Zip'] = np.nan
mail = data['Incident Zip'].unique()
print(data)

